package com.jdg.controller;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.jdg.dao.UserMapper;
import com.jdg.entity.User;

@Controller
public class TestController {
	@Autowired
	private UserMapper userMapper;
	@RequestMapping("testController")
	public String testContrprintoller= (ArrayList<User>) userMapper.selectUserList();
		System.out.ln(userList(){
		ArrayList<User> userList );
		return "success";
	}
}
